function plotallspectra()
    name = dir('*.sdf');
    for i = 1: size(name)
        data = GetDataSDF(name(i).name);
        disp(name(i).name)
        plotspectra(data, 1000, strtok(name(i).name, '.'))
    end
end
            
            
